<%@page import="tx.bjdacp.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>

<rapid:override name="head">
	<title>跟踪检查新增</title>
</rapid:override>

<rapid:override name="content">
	<s:form action="/pages/SuperviseInfo/save.do" method="post"  enctype="multipart/form-data">
		<table class="formTable">

	<s:hidden id="superviseInfoId" name="superviseInfoId" />

<!-- ONGL access static field: @package.class@field or @vs@field -->

	<s:hidden id="drugSellUnitId" name="drugSellUnitId" />

	<s:hidden id="superviseType" name="superviseType" value="跟踪检查"/>



	<tr>
		<td class="tdLabel">
			<%=SuperviseInfo.ALIAS_SUPERVISE_DATE%>:
		</td>
		<td>
		<input value="${model.superviseDateString}" onclick="WdatePicker({dateFmt:'<%=SuperviseInfo.FORMAT_SUPERVISE_DATE%>'})" id="superviseDateString" name="superviseDateString"   class="" />
		</td>
	</tr>




	<s:textfield label="不合格项目" key="superviseResult" value="%{model.superviseResult}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.SuperviseInfo@ALIAS_DIGHT_INFO}" key="dightInfo" value="%{model.dightInfo}" cssClass="" required="false" />


	<s:file label="%{@tx.bjdacp.model.SuperviseInfo@ALIAS_ATTACHMENT_FILE_NAME}"  key="attachmentFile" />

	<s:textfield label="%{@tx.bjdacp.model.SuperviseInfo@ALIAS_UNIT_TYPE}" key="unitType" value="%{model.unitType}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.SuperviseInfo@ALIAS_SUPERVISE_PERSON}" key="supervisePerson" value="%{model.supervisePerson}" cssClass="" required="false" />

		</table>
		<input id="submitButton" name="submitButton" type="submit" value="提交" />

	</s:form>

	<script>

		new Validation(document.forms[0],{onSubmit:true,onFormValidate : function(result,form) {
			var finalResult = result;

			//在这里添加自定义验证

			return disableSubmit(finalResult,'submitButton');
		}});
	</script>
</rapid:override>

<%-- jsp模板继承,具体使用请查看: http://code.google.com/p/rapid-framework/wiki/rapid_jsp_extends --%>
<%@ include file="base.jsp" %>